// 轮播图移动样式类名
.p1 {
    transform: translate(-224px) scale(.81);
    opacity: 0;

}

body{
    position: relative;
    height: 3900px;
}
.p2 {
    transform: translate(0) scale(.81);
    z-index: 1;
    opacity: 0.8;
    transition: all 0.3s;
}

.p3 {
    transform: translate(224px) scale(1);
    z-index: 3;
    opacity: 1;
    transition: all 0.3s;
}

.p4 {
    transform: translate(450px) scale(.81);
    z-index: 1;
    opacity: 0.8;
    transition: all 0.3s;
}

.p5 {
    transform: translate(675px) scale(.81);
    opacity: 0;

}

.p6 {
    transform: translate(900px) scale(.81);
    opacity: 0;

}

// 鼠标悬停左右控件显示样式
.show-left {
    transform: translateX(0);
    transition: all .3s;
}

.show-right {
    transform: translateX(0);
    transition: all .3s;
}

.conceal-left {
    transform: translateX(-100%);
    transition: all .3s;
    
}

.conceal-right {
    transform: translateX(100%);
    transition: all .3s;
}

// 小圆点类名样式
.active {
    background-color: rgb(129, 120, 120) !important;
}

.app {
    
    height: 468px;
    position: relative;
    padding-top: 270px;

    .banner-box {

        // 轮播图样式
        .banner {
            width: 100%;

            ul {
                position: relative;
                width: 100%;
                height: 305px;


                li {
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 751px;
                    height: 300px;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }

        // 小圆点样式
        .banner-li {
            width: 100%;
            height: 38px;
            margin-top: 20px;
            margin-bottom: 26px;

            ul {
                width: 200px;
                height: 100%;

                margin: 0 auto;
                display: flex;
                justify-content: space-between;

                li {
                    width: 8px;
                    height: 8px;
                    z-index: 5;

                    a {
                        display: block;
                        width: 100%;
                        height: 100%;
                        border-radius: 50%;
                        background-color: #ccc;

                        &:hover {
                            background-color: rgb(129, 120, 120);
                        }
                    }
                }
            }
        }
    }

    // 控制键样式
    .console {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;

        .console-left {
            width: 50%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 200px;

            a {
                position: absolute;
                left: 0;
                top: 50%;
                margin-top: -70px;
                background-color: #ededed;
                width: 80px;
                height: 110px;
                line-height: 110px;
                text-align: center;
                border-radius: 3px;
                z-index: 4;

                &:hover {
                    background-color: #e1e1e1;
                }

                i {
                    font-size: 40px;
                }
            }
        }

        .console-right {
            width: 50%;
            height: 100%;
            position: absolute;
            right: 0;
            top: 200px;

            a {
                position: absolute;
                right: 0;
                top: 50%;
                margin-top: -70px;
                background-color: #ededed;
                width: 80px;
                height: 110px;
                line-height: 110px;
                text-align: center;
                border-radius: 3px;
                z-index: 4;

                &:hover {
                    background-color: #e1e1e1;
                }

                i {
                    font-size: 40px;
                }
            }
        }
    }

    .content {
        width: 1067px;
        height: 418px;
        
        margin: 0 auto;

        h1 {
            font-size: 24px;
            font-weight: normal;
            height: 60px;
            line-height: 60px;
        }

        ul{
            display: flex;
            justify-content: space-between;
            li {
                width: 197px;
                height: 280px;
                
                .img {
                    display: block;
                    width: 197px;
                    height: 197px;
                    overflow: hidden;
                    position: relative;
                    &::before {
                        content: '';
                        width: 100%;
                        height: 100%;
                        background-color:  rgba(0, 0, 0, 0.2);
                        position: absolute;
                        left: 0;
                        top: 0;
                        /* 层级 */
                        z-index: 10;
                        opacity: 0;
                        transition: all 1s;
                    }
                    &:hover::before{
                        opacity: 1;
                    }
                    img {
                        width: 100%;
                        height: 100%;
                        transition: all 1s;
                    }
    
                    &:hover img {
                        transform: scale(1.1);
                    }
                }
                .one{
                    display: block;
                        width: 197px;
                        height: 22px;
                        font-size: 14px;
                        margin-top: 8px;
                        &:hover{
                            color: #31c27c;
                    }
                }
                a{
                    display: block;
                    &:nth-child(3){
                        color: #999;
                        width: 197px;
                        height: 22px;
                        font-size: 14px;
                    }
                }
                .li-botton{
                    width: 100%;
                    height: 28px;
                    display: flex;
                    justify-content: space-between;
                    span{
                        color: #999;
                    }
                    a{
                        display: inline-block !important;
                        width: 80px;
                        height: 28px;
                        color: #333;
                        border: 1px solid #c9c9c9;
                        border-radius: 3px;
                        text-align: center;
                        line-height: 28px;
                        &:hover{
                            background-color: #ededed;
                            color: #333;
                        }
                    }
                }
            }
        }
    }
}